import request from '@/utils/request'


export function takeStockList(data) { //设备设施盘点-列表
    return request({
        url: '/project-management/api/equipmentInventory/page',
        method: 'post',
        data
    })
}
export function takeStockAdd(data) { //设备设施盘点-添加
    return request({
        url: '/project-management/api/equipmentInventory/add',
        method: 'POST',
        data
    })
}
//原 put
export function takeStockEdit(data) { //设备设施盘点-修改
    return request({
        url: '/project-management/api/equipmentInventory/edit',
        method: 'post',
        data
    })
}
export function takeStockDetail(id) { //设备设施盘点-单条查询
    return request({
        url: '/project-management/api/equipmentInventory/'+id,
        method: 'get',
    })
}
//原 del
export function takeStockDelete(id) { //设备设施盘点-单条查询删除
    return request({
        url: '/project-management/api/equipmentInventory/del/'+id,
        method: 'get',
    })
}




